@extends('home.layout')
@section('content')
    <!-- ngView:  -->
    <div class="ng-scope" ng-view="" role="main">
        <div profile-container="" page-name="address" page-title="地址管理" class="profile-container container">
            <div class="clearfix">
                <div location="" class="location" ng-style="{visibility: geohash ? '' : 'hidden'}" role="navigation"><span>当前位置:</span>
<<<<<<< Updated upstream
                    <ul
                                class="dropbox location-dropbox" ubt-visit="398"><li class="arrow"></li>
                            <!-- ngRepeat: userPlace in userPlaces | filter:filterPlace | limitTo: 4 --><li class="ng-scope"
                                                                                                            ng-repeat="userPlace in userPlaces | filter:filterPlace | limitTo: 4"><a
                                        href="{{asset('')}}place/wx4spk28vey" class="inherit ng-binding"
                                        ng-href="/place/wx4spk28vey" ng-bind="userPlace.name" ubt-click="399">昌平区沙河北京华文学院附近</a></li>
                            <!-- end ngRepeat: userPlace in userPlaces | filter:filterPlace | limitTo: 4 --><li
                                    class="changelocation"><a href="{{asset('')}}home" ng-href="/home"
                                                              hardjump="">修改收货地址<span
                                            class="icon-location"></span></a></li></ul></span> <span ng-transclude=""><i
                                class="icon-arrow-right ng-scope"></i><span class="ng-binding ng-scope">地址管理</span></span></div>
=======
                    <span class="location-current"><a href="{{asset('')}}place/wx4spk2q4gx" class="inherit ng-binding" ng-href="/place/wx4spk2q4gx" ubt-click="401"
                    ng-bind="place.name || place.address">昌平区沙河兄弟连IT教育(北清路北400米)</a>
                    </span>
                    <span class="location-change location-hashistory" ng-class="{ 'location-hashistory': user.username &amp;&amp; userPlaces &amp;&amp; userPlaces.length > 0 }">
                        <a href="{{asset('')}}home" ng-href="/home" ubt-click="400" hardjump="">[切换地址]</a>
                        <ul class="dropbox location-dropbox" ubt-visit="398">
                        <li class="arrow"></li>
                    <!-- ngRepeat: userPlace in userPlaces | filter:filterPlace | limitTo: 4 --><li class="ng-scope" href="{{asset('')}}place/wx4spk28vey" class="inherit ng-binding" ng-href="/place/wx4spk28vey" ng-bind="userPlace.name" ubt-click="399">昌平区沙河北京华文学院附近</a>
                    </li>
                    <!-- end ngRepeat: userPlace in userPlaces | filter:filterPlace | limitTo: 4 -->
                    <li class="changelocation">
                        <a href="{{asset('')}}home" ng-href="/home" hardjump="">修改收货地址
                            <span class="icon-location"></span>
                        </a>
                    </li>
                </ul>
                </span> 
                <span ng-transclude=""><i class="icon-arrow-right ng-scope"></i><span class="ng-binding ng-scope">地址管理</span></span></div>
>>>>>>> Stashed changes
                <div search-input=""></div>
            </div>
            <ul profile-sidebar="" class="profile-sidebar" role="navigation">
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle"
                ng-class="{ active: pageName === 'profile' }">
                <i class="icon-line-home"></i>
                    <a href="{{asset('')}}profile">个人中心</a></h2></li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle">
                    <i class="icon-line-order"></i>我的订单
                    </h2>
                    <ul>
                        <li ng-class="{ active: pageName === 'order' }"><a
                                    href="{{asset('')}}profile/order">近三个月订单</a></li>
                        <li ng-class="{ active: pageName === 'order-unrated' }"><a
                                    href="{{asset('')}}profile/order/unrated">待评价订单<!-- ngIf: unratedNumber --></a></li>
                    </ul>
                </li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle">
                <i class="icon-line-profile"></i>我的资料</h2>
                    <ul>
                        <li ng-class="{ active: pageName === 'info' }"><a href="{{asset('')}}profile/info">个人资料</a>
                        </li>
                        <li class="active" ng-class="{ active: pageName === 'address' }"><a href="#">地址管理</a></li>
                        <li ng-class="{ active: pageName === 'changepassword' }">
                            <a href="{{asset('')}}profile/security/changepassword">修改密码</a></li>
                    </ul>
                </li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle"
                ng-class="{ active: pageName === 'favor' }">
                <a href="{{asset('')}}profile/favor"><i class="icon-order-favor"></i>我的收藏</a></h2>
                </li>
            </ul>

            <div class="profile-panel" role="main"><!-- ngIf: pageTitleVisible --><h3 ng-if="pageTitleVisible" class="profile-paneltitle ng-scope">
                    <span class="ng-binding" ng-bind="pageTitle">地址管理</span> <span class="subtitle ng-binding" ng-bind-html="pageSubtitle | toTrusted"></span>
                </h3><!-- end ngIf: pageTitleVisible -->
                <div class="profile-panelcontent" ng-transclude="">
                    <div loading="" content="正在载入地址..." ng-show="addressLoading"
                         class="loading ng-binding ng-isolate-scope ng-hide">
                         <!-- ngIf: type==='profile' -->
                         <img class="ng-scope" ng-if="type==='profile'" src="profile-loading.4984fa.gif" alt="正在加载">
                        <!-- end ngIf: type==='profile' --> <!-- ngIf: type==='normal' -->正在载入地址...
                    </div>

                 <div class="desktop-addresslist clearfix ng-scope" ng-hide="addressLoading">
                        <!-- ngRepeat: address in userAddresses -->
                        <div class="desktop-addressblock ng-scope" ng-repeat="address in userAddresses">
                            <div class="desktop-addressblock-buttons">
                                <button class="desktop-addressblock-button" ng-click="editAddress(address)">修改</button>
                                <button class="desktop-addressblock-button" ng-click="showMask = true">删除</button>
                            </div>
                            <div class="desktop-addressblock-name ng-binding">尹天 <span class="ng-binding">先生</span></div>
                            <div class="desktop-addressblock-address ng-binding"
                                 ng-bind="address.address + ' ' + address.address_detail">兄弟连IT教育 1a01
                            </div>
                            <div class="desktop-addressblock-mobile ng-binding" ng-bind="address.phone">15272007542</div>
                            <div class="desktop-addressblock-mask ng-hide" ng-show="showMask"></div>
                            <!-- ngIf: !address.st_geohash || !address.address -->
                            <div class="desktop-addressblock-removebuttons ng-hide" ng-show="showMask"><p>确定删除收货地址?</p>
                                <button class="confirmdelete" ng-click="removeAddress(address)">确定</button>
                                <button class="canceldelete" ng-click="showMask = false">取消</button>
                            </div>
                        </div><!-- end ngRepeat: address in userAddresses -->
                        <button class="desktop-addressblock desktop-addressblock-addblock" ng-click="addAddress()"><i
                                    class="icon-plus"></i>添加新地址
                        </button>
                    </div>
                </div>


            </div>
        </div>
    </div>

@endsection